package com.youlu.campus.activity.repositories;

import com.youlu.campus.entity.UserDailyLearning;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 用户活动 学习签到
 *
 * @Description: UserDailyLearningRepository
 * @Date 2025/10/11
 * @author: su
 */
public interface UserDailyLearningRepository extends MongoRepository<UserDailyLearning, String> {

    /**
     * 删除用户学习签到
     *
     * @param userId
     * @param activityId
     */
    Long deleteByUserIdAndActivityId(String userId, String activityId);
}
